$(function () {


})

var handlerMessage = function (data) {
    if(data.success){
        $.messager.alert("温馨提示","操作成功,1秒后自动关闭");
        window.setTimeout(function () {
            window.location.reload();
        },1000)
    }else{
        $.messager.popup(data.msg)
    }
}

$.messager.model = {
    ok:{text:"确认"},
    cancel:{text:"取消"}
}

jQuery.ajaxSettings.traditional=true;